Like a smattering of rhinestones on a pair of skinny jeans, Old Navy has emerged as the unexpected sparkle in Gap Inc.’s performance these days. And while the low-cost retailer’s turnaround story is rich in messaging about merchandising, it is equally stocked with lessons in loyalty marketing.